import Vue from 'vue'
import Vuex from 'vuex'
import user from './login/user'
import permission from './login/permission'
import getters from './getters'
//安装插件
Vue.use(Vuex)
//创建对象
    
const store = new Vuex.Store({
    modules:{user,permission},
    getters
})

export default store